﻿using System.Collections.Generic;
using System.Web;
using System.Web.Http;
using System.Web.Http.Controllers;
using Uranus.Common;
using Uranus.WeiStationAPI.Models;

namespace Uranus.WeiStationAPI.App_Start
{
    public class UserStateAttribute : System.Attribute
    {
        /// <summary>
        /// 是否强制登录状态
        /// </summary>
        public VisitUserStateEnum VisitUserStateEnum { get; set; } = VisitUserStateEnum.NoLogin;


        /// <summary>
        /// 是否需要加密
        /// </summary>
        public bool EnEncryption { get; set; } = true;

        /// <summary>
        /// 开通汇付
        /// </summary>
        public bool EnAuthHuifu { get; set; } = false;
    }
}